<?php

/*
 |--------------------------------------------------------------------------
 | API response code
 |--------------------------------------------------------------------------
 */
defined('AJAX_CODE_REQUEST_PARAMS_ERROR')        		OR define('AJAX_CODE_REQUEST_PARAMS_ERROR', 1000);
defined('AJAX_CODE_USER_IS_LOGIN_OUT')        		OR define('AJAX_CODE_USER_IS_LOGIN_OUT', 1001);
defined('AJAX_CODE_PERMISSION_DENY_ERROR')        	OR define('AJAX_CODE_PERMISSION_DENY_ERROR', 1002);
defined('AJAX_CODE_LOGIN_FAIL')         				OR define('AJAX_CODE_LOGIN_FAIL', 1003);
defined('AJAX_CODE_REGISTER_FAIL')         			OR define('AJAX_CODE_REGISTER_FAIL', 1004);
defined('AJAX_CODE_ILLEGAL_USER')        				OR define('AJAX_CODE_ILLEGAL_USER', 1005);
defined('AJAX_CODE_ADD_FAIL')        					OR define('AJAX_CODE_ADD_FAIL', 1006);
defined('AJAX_CODE_BOOK_TITLE_REPEAT_ERROR')        	OR define('AJAX_CODE_BOOK_TITLE_REPEAT_ERROR', 1007);
defined('AJAX_CODE_EMAIL_REPEAT_ERROR')        		OR define('AJAX_CODE_EMAIL_REPEAT_ERROR', 1008);